package com.dingding.facade.queue.facade;

import com.dingding.common.core.beans.UserTaxiOrdert;
import com.dingding.common.core.beans.special.UserspecialorderT;

public interface IQueueFacade {

	/**
	 * 
	 * 添加邮件消息到队列中
	 * 
	 * @Title: addEmailMessage 
	 * @return  true 添加成功 false 添加失败 
	 * @author CHEHAUNBO
	 * 
	 */
	public boolean addEmailToQueue(String content);

	/**
	 * 
	 * 添加推送消息到队列中
	 * 
	 * @Title: addPushMessage 
	 * @return  true 添加成功 false 添加失败 
	 * @author CHEHAUNBO
	 * 
	 */
	public boolean addPushToQueue(String content);

	/**
	 * 
	 * 添加短信消息到队列中
	 * 
	 * @Title: addPushMessage 
	 * @return  true 添加成功 false 添加失败 
	 * @author CHEHAUNBO
	 * 
	 */
	public boolean addMessageToQueue(String content);
	
	/**
	 * 
	 * 添加 增加推送次数到队列中
	 * 
	 * @Title: addPushNumberToQueue 
	 * @return  true 添加成功 false 添加失败 
	 * @author CHEHAUNBO
	 * 
	 */
	public boolean addPushNumberToQueue(String content);
	
	/**
	 * @Description:添加指派专车订单到消息队列
	 * @author fengshuonan
	 * @since 2.4
	 */
	public boolean addSpecialOrderToQueue(UserspecialorderT userspecialorderT);
	
	/**
	 * @Description 添加出租车订单到队列里
	 * @author fengshuonan
	 * @return boolean true 添加成功  false 添加失败
	 */
	public boolean addTaxiOrderToQueue(UserTaxiOrdert taxiOrdert);
	
	/**
	 * @Description 用netty推送消息
	 * @author fengshuonan
	 */
	public boolean addNettyPushToQueue(String pushData);

}
